#import "YLWebImageCompat.h"
#import "NSData+YLImageContentType.h"

@interface UIImage (YLMultiFormat)

@property (nonatomic, assign) NSUInteger yl_imageLoopCount;

@property (nonatomic, assign) YLImageFormat yl_imageFormat;

+ (nullable UIImage *)yl_imageWithData:(nullable NSData *)data;
- (nullable NSData *)yl_imageData;
- (nullable NSData *)yl_imageDataAsFormat:(YLImageFormat)imageFormat;

@end
